﻿namespace DevWpfApp
{
    public class ResourceIdGenerator
    {
        static ResourceIdGenerator()
        {
            Current = 0;
        }
        public static int NewId()
        {
            Current = Current + 1;
            return Current;
        }
        public static int Current { get; set; }
    }
}
